package com.token.mapper;

import com.token.bean.Admin;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 后台 Mapper 接口
 * </p>
 *
 * @author 冯政尚
 * @since 2019-07-30
 */
public interface AdminMapper extends BaseMapper<Admin> {
    List<Admin> login(@Param("map") Map map);

    List<Admin> selectByCode(@Param("code")String code);
}
